home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 January: Mac OS SDK / Dev.CD Jan 96 SDK / Dev.CD Jan 96 SDK1.toast / Development Kits (Disc 1) / AOCE / Development Tools / Sample Code / Digital Signatures / Digital Signature Demo / Digital Signature Demo ReadMe < prev    next >
Encoding:
Text File  |  1993-11-05  |  2.5 KB  |  46 lines  |  [ttro/ttxt]

  1. AOCE Software Developers Kit 1.0                                                                                                            November 5, 1993
  2. -----------------------------------------------------------------------------
  3. DigitalSignatureDemo
  4. 6/25/93
  5.  
  6. This sample program illustrates how the AOCE Digital Signature Manager may be used to sign and verify the contents of entire files or individual objects. It also shows how to integrate Digital Signatures into the Think Class Library organizational structure.
  7.  
  8. Note, however, that this sample DOES NOT demonstrate the proper human interface for signed objects. Also, you should carefully consider whether your application needs to sign its documents.
  9.  
  10. The sample was built by extending the Think Class Library “TinyEdit” example. The DemoApp and DemoEditDoc classes are subclasses of CEditApp and CEditDoc respectively, while DemoMain.c replaces TinyEdit.c and the other classes are new.
  11.  
  12. This sample requires Think C 6.0 and Think Class Library 1.1.3.
  13. It does not compile under Think C 5.0.4.  Full directions for
  14. building the demo are in the file "!Building This Demo.note"
  15.  
  16. The sample adds two menu options to the File menu:
  17.  
  18. • “Open and Verify File…” opens a signed file.
  19.        It verifies the digital signature and opens the
  20.        file read-only. (Signing a file sets the "locked"
  21.        flag: if you try opening it using the Open menu
  22.        option, you'll get an error message.
  23.  
  24. • “Save, Close, and Sign File…” saves the current
  25.        contents of the window as a new file, then signs
  26.        that file using your registered Digital Signature.
  27.  
  28. The sample also adds a new menu, Signed Object Demo that illustrates how your applications can sign individual objects, such as the state of checkboxes and radio
  29. buttons. The Signed Object Demo DOES NOT, however, illustrate the proper human interface for signed objects.
  30.  
  31. Compilation Environment:
  32.     THINK C 6.0.1, Think Class Library 1.1.3. This sample
  33.     will not compile under Think C 5.0.
  34.  
  35. Restrictions:
  36.     Please read the "! Building This Demo.note" file before
  37.     trying to build this sample.
  38.  
  39. Authors: Martin Minow-DTS, AppleLink: DEVSUPPORT
  40.  
  41. Questions/Comments: As with the other AOCE samples, technical questions should be addressed to DEVSUPPORT.
  42.  
  43. -----------------------------------------------------------------------------
  44. Copyright © 1992-93, Apple Computer Inc. All Rights Reserved.
  45.  
  46. This tool is provided as part of the AOCE SDK.  Use of this tool for any purpose other than the development of AOCE-based Macintosh® products is a violation of the license agreement covering this SDK.